package com.jctrip.hotel.source.service.hmein;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @Author henry
 * @Date 2023/6/3 17:20
 * @Description
 */
public interface HmeinTaskService {

    void syncHmeinHotelIdListTask(String appId, String hotelId);

    void syncHmeinHotelIdListTaskFastPush(String appId);

    void syncHmeinHotelIdListTaskFastPop(String appId);

    void syncHmeinRatesTaskPush();

    void syncHmeinLongerRatesTaskPush();

    void syncHmeinRatesTaskFastPop(String appId, String memberNo, Integer days, Map<String,String> rateCodeWithSourceIdMap);

    void syncHmeinLongerRatesTaskFastPop(String appId, String memberNo,
                                         Integer addDays, Integer days, Map<String,String> rateCodeWithSourceIdMap);

    void syncHmeinHotspotRatesTaskPush();

    void syncHmeinHotspotRatesTaskFastPop(String appId, String memberNo, Integer days, Map<String,String> rateCodeWithSourceIdMap);

    void syncHmeinRatesTaskPop(String appId, String hotelId, String memberNo, String start, String end, Map<String,String> rateCodeWithSourceIdMap);

    void syncHeminRoomRepairPush();

    void syncHeminRoomRepairPop(String appId, String memberNo);

    void syncHeminRoomRepair(String appId, String hotelId, String memberNo, String start, String end);


    void syncHmeinPicPush();

    void syncHmeinPicPop(String appId);

    void syncHmeinPic(String appId, String hotelId) throws IOException;
}